package jpa;
import java.util.List;

import javax.ejb.Local;

@Local
public interface IStatelessBean 
{
	List<Cache> getAllCaches();
	List<Member> getAllMembers();
	List<Header> getAllHeaders();
	Cache getCache(String s);
	void approveCache(int i);
	void deleteCache(int i);
	void deleteMember(int i);
	void createCache(String name, String desc, double lat, double lon, Member m);
	void addPicToCache(String picUrl, int id);
	void registerUser(String user, String password, String conPass, String email);
	int getCacheID(String name);
	void editCache(int id, String name, String desc, Double lat, Double lon);
	void addHeader(String cacheID, String headerName, String headerDesc);
	int getHeaderID(String name);
	void addPicToHeader(String m_fileName, int id);
	List<Header> getAllHeadersFromCache(int cacheID);
	Header getHeader(String s);
	void editHeader(int id, String name, String desc);

}
